<?php

date_default_timezone_set('Asia/Shanghai');

error_reporting(E_ALL);

//定义项目根目录
define('PROJECT_ROOT_PATH', realpath(dirname(__FILE__). '/..'));

session_start();

//派遣到对应操作
require_once PROJECT_ROOT_PATH . '/no_public/dispatcher/dispatcher.php';
$dispatcher = new wwy_dispatcher();
$dispatcher->dispatch();

